﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoPartsSearch.Domain.Abstract;
using AutoPartsSearch.Domain.Entities;
using AutoPartsSearch.Domain.Entities.Messages;

namespace AutoPartsSearch.Domain.Concrete.Mappers
{
    public class SellerToRecipientMapper : IMapper<Seller, Recipient>
    {
        public Recipient Map(Seller input)
        {
            return new Recipient
                       {
                           EMail = input.EMail
                       };
        }
    }
}
